package com.mmy.domain.permissionmenu;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * The persistent class for the tSysUserRole database table.
 * 
 */
@Entity
@Table(name = "tSysUserRole")
@NamedQuery(name = "TSysUserRole.findAll", query = "SELECT t FROM TSysUserRole t")
public class TSysUserRole {

	private static final long serialVersionUID = 1L;

	private String cCreator;

	private String cMemo;

	private String cReviser;

	private String cSpare1;

	private String cSpare2;

	private String cSpare3;

	private String cSpare4;

	private String cSpare5;

	private int iRoleID;

	private int iUserID;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dCreateDate;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dModifyDate;

	@GeneratedValue(strategy = GenerationType.AUTO)
	@Id
	private int iID;

	public TSysUserRole() {
	}

	public String getCreator() {
		return cCreator;
	}

	public void setCreator(String cCreator) {
		this.cCreator = cCreator;
	}

	public String getMemo() {
		return cMemo;
	}

	public void setMemo(String cMemo) {
		this.cMemo = cMemo;
	}

	public String getReviser() {
		return cReviser;
	}

	public void setReviser(String cReviser) {
		this.cReviser = cReviser;
	}

	public String getSpare1() {
		return cSpare1;
	}

	public void setSpare1(String cSpare1) {
		this.cSpare1 = cSpare1;
	}

	public String getSpare2() {
		return cSpare2;
	}

	public void setSpare2(String cSpare2) {
		this.cSpare2 = cSpare2;
	}

	public String getSpare3() {
		return cSpare3;
	}

	public void setSpare3(String cSpare3) {
		this.cSpare3 = cSpare3;
	}

	public String getSpare4() {
		return cSpare4;
	}

	public void setSpare4(String cSpare4) {
		this.cSpare4 = cSpare4;
	}

	public String getSpare5() {
		return cSpare5;
	}

	public void setSpare5(String cSpare5) {
		this.cSpare5 = cSpare5;
	}

	public int getRoleID() {
		return iRoleID;
	}

	public void setRoleID(int iRoleID) {
		this.iRoleID = iRoleID;
	}

	public int getUserID() {
		return iUserID;
	}

	public void setUserID(int iUserID) {
		this.iUserID = iUserID;
	}

	public Date getCreateDate() {
		return dCreateDate;
	}

	public void setCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	public Date getModifyDate() {
		return dModifyDate;
	}

	public void setModifyDate(Date dModifyDate) {
		this.dModifyDate = dModifyDate;
	}

	public int getID() {
		return iID;
	}

	public void setID(int iID) {
		this.iID = iID;
	}

}
